Running the Model > Scenarios

Scenarios

MedModel gives you the option of defining several scenarios for a model using parameters. A scenario is a set of parameters with settings defined by the user. Using scenarios allows you to alter various parameters to run a series of “what-if” scenarios without changing the model directly. Scenarios can also be helpful for allowing other users of your model, who may not have experience using model logic, to make changes to the model through scenario parameters. Scenarios are saved with the model for future use.

 

A checkbox appears under each scenario in the Simulate Scenario? row. To enable the scenario to be simulated, make sure the checkbox is checked. To disable the scenario, leave the checkbox unchecked.

 

Parameters are listed as rows under the Scenario columns. In addition, there is a row for the Last Simulation Run, which, if there is output for that scenario, lists the date and time that the scenario was last run.

Please Note: After a scenario is run, the checkbox under that scenario will default to be unchecked. This is so that the next time you want to run a new scenario, time is not spent generating results that already exist. To re-run a scenario, simply make sure the scenario’s checkbox is checked.

Help Click the Help icon [?] to launch the help system.

Run Scenarios Runs the model with the defined scenarios. When running several scenarios, clicking on the Abort button during translation will terminate all scenarios instead of just the current scenario.

OK Clicking OK allows you to exit the Scenario Manager without running the simulation.

Cancel Clicking Cancel allows you to exit the Scenario Manager without applying any changes or running the simulation.

 

Scenarios can be added, deleted or edited in the Scenario Manager. If you have scenario parameters that are different than the "Baseline," the change will show up in bolded, blue font, as seen in the image below.

How to define a Scenario

  1. Click the Add button [+] located at the top of the last column.
  2. A new column will appear with the default name, and will take on the same parameter values as the Baseline scenario. Define the scenario name by typing in the Scenario Name box. Click in the individual cells under the new scenario's column to change the scenario properties.
  3. Scenarios can also be duplicated by right-clicking on a scenario and selecting Duplicate Scenario from the context menu.

How to delete a Scenario

  1. Hover over a scenario name until an [x] appears in the upper right hand corner of the cell. Press the [x] to delete the scenario. Or, right-click on any scenario and select Delete Scenario from the context menu. Any scenario except the Baseline can be deleted.

The Baseline Scenario c an be renamed, but it cannot be deleted, nor can its values be modified in the Scenario Manager.

Please Note: Only macros defined as scenario parameters will be displayed as parameters for the scenario. (See Scenario Parameters and Macros for more information.)


© 2012 ProModel Corporation • 556 East Technology Avenue • Orem, UT 84097 • Support: 888-776-6633 • www.promodel.com